package com.teach.controller.photo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.teach.service.photo.PhotoOrderService;

@RestController
@RequestMapping("/photo")
public class PhotoOrderController {

	@Autowired
	private PhotoOrderService service;
	
	
	@RequestMapping("/order.do")
	public Object doOrder(@RequestParam("title")String shopId) {			
		return service.count(shopId);
		
	}
}
